﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200126D RID: 4717
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SummonActivityBattleEndScNotify : IMessage<SummonActivityBattleEndScNotify>, IMessage, IEquatable<SummonActivityBattleEndScNotify>, IDeepCloneable<SummonActivityBattleEndScNotify>, IBufferMessage
	{
		// Token: 0x17003BD0 RID: 15312
		// (get) Token: 0x0600D397 RID: 54167 RVA: 0x00239E33 File Offset: 0x00238033
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SummonActivityBattleEndScNotify> Parser
		{
			get
			{
				return SummonActivityBattleEndScNotify._parser;
			}
		}

		// Token: 0x17003BD1 RID: 15313
		// (get) Token: 0x0600D398 RID: 54168 RVA: 0x00239E3A File Offset: 0x0023803A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SummonActivityBattleEndScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BD2 RID: 15314
		// (get) Token: 0x0600D399 RID: 54169 RVA: 0x00239E4C File Offset: 0x0023804C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SummonActivityBattleEndScNotify.Descriptor;
			}
		}

		// Token: 0x0600D39A RID: 54170 RVA: 0x00239E53 File Offset: 0x00238053
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SummonActivityBattleEndScNotify()
		{
		}

		// Token: 0x0600D39B RID: 54171 RVA: 0x00239E5C File Offset: 0x0023805C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SummonActivityBattleEndScNotify(SummonActivityBattleEndScNotify other) : this()
		{
			this.groupId_ = other.groupId_;
			this.star_ = other.star_;
			this.fightStageId_ = other.fightStageId_;
			this.kCENJNFNEPL_ = other.kCENJNFNEPL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D39C RID: 54172 RVA: 0x00239EB0 File Offset: 0x002380B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SummonActivityBattleEndScNotify Clone()
		{
			return new SummonActivityBattleEndScNotify(this);
		}

		// Token: 0x17003BD3 RID: 15315
		// (get) Token: 0x0600D39D RID: 54173 RVA: 0x00239EB8 File Offset: 0x002380B8
		// (set) Token: 0x0600D39E RID: 54174 RVA: 0x00239EC0 File Offset: 0x002380C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x17003BD4 RID: 15316
		// (get) Token: 0x0600D39F RID: 54175 RVA: 0x00239EC9 File Offset: 0x002380C9
		// (set) Token: 0x0600D3A0 RID: 54176 RVA: 0x00239ED1 File Offset: 0x002380D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Star
		{
			get
			{
				return this.star_;
			}
			set
			{
				this.star_ = value;
			}
		}

		// Token: 0x17003BD5 RID: 15317
		// (get) Token: 0x0600D3A1 RID: 54177 RVA: 0x00239EDA File Offset: 0x002380DA
		// (set) Token: 0x0600D3A2 RID: 54178 RVA: 0x00239EE2 File Offset: 0x002380E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FightStageId
		{
			get
			{
				return this.fightStageId_;
			}
			set
			{
				this.fightStageId_ = value;
			}
		}

		// Token: 0x17003BD6 RID: 15318
		// (get) Token: 0x0600D3A3 RID: 54179 RVA: 0x00239EEB File Offset: 0x002380EB
		// (set) Token: 0x0600D3A4 RID: 54180 RVA: 0x00239EF3 File Offset: 0x002380F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KCENJNFNEPL
		{
			get
			{
				return this.kCENJNFNEPL_;
			}
			set
			{
				this.kCENJNFNEPL_ = value;
			}
		}

		// Token: 0x0600D3A5 RID: 54181 RVA: 0x00239EFC File Offset: 0x002380FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SummonActivityBattleEndScNotify);
		}

		// Token: 0x0600D3A6 RID: 54182 RVA: 0x00239F0C File Offset: 0x0023810C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SummonActivityBattleEndScNotify other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && this.Star == other.Star && this.FightStageId == other.FightStageId && this.KCENJNFNEPL == other.KCENJNFNEPL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D3A7 RID: 54183 RVA: 0x00239F78 File Offset: 0x00238178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.Star != 0U)
			{
				num ^= this.Star.GetHashCode();
			}
			if (this.FightStageId != 0U)
			{
				num ^= this.FightStageId.GetHashCode();
			}
			if (this.KCENJNFNEPL != 0U)
			{
				num ^= this.KCENJNFNEPL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D3A8 RID: 54184 RVA: 0x0023A002 File Offset: 0x00238202
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D3A9 RID: 54185 RVA: 0x0023A00A File Offset: 0x0023820A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D3AA RID: 54186 RVA: 0x0023A014 File Offset: 0x00238214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Star != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Star);
			}
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.GroupId);
			}
			if (this.KCENJNFNEPL != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.KCENJNFNEPL);
			}
			if (this.FightStageId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.FightStageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D3AB RID: 54187 RVA: 0x0023A0A8 File Offset: 0x002382A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.Star != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Star);
			}
			if (this.FightStageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FightStageId);
			}
			if (this.KCENJNFNEPL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KCENJNFNEPL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D3AC RID: 54188 RVA: 0x0023A130 File Offset: 0x00238330
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SummonActivityBattleEndScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.Star != 0U)
			{
				this.Star = other.Star;
			}
			if (other.FightStageId != 0U)
			{
				this.FightStageId = other.FightStageId;
			}
			if (other.KCENJNFNEPL != 0U)
			{
				this.KCENJNFNEPL = other.KCENJNFNEPL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D3AD RID: 54189 RVA: 0x0023A1A8 File Offset: 0x002383A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D3AE RID: 54190 RVA: 0x0023A1B4 File Offset: 0x002383B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 72U)
				{
					if (num == 40U)
					{
						this.Star = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 80U)
					{
						this.KCENJNFNEPL = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.FightStageId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040054BD RID: 21693
		private static readonly MessageParser<SummonActivityBattleEndScNotify> _parser = new MessageParser<SummonActivityBattleEndScNotify>(() => new SummonActivityBattleEndScNotify());

		// Token: 0x040054BE RID: 21694
		private UnknownFieldSet _unknownFields;

		// Token: 0x040054BF RID: 21695
		public const int GroupIdFieldNumber = 9;

		// Token: 0x040054C0 RID: 21696
		private uint groupId_;

		// Token: 0x040054C1 RID: 21697
		public const int StarFieldNumber = 5;

		// Token: 0x040054C2 RID: 21698
		private uint star_;

		// Token: 0x040054C3 RID: 21699
		public const int FightStageIdFieldNumber = 13;

		// Token: 0x040054C4 RID: 21700
		private uint fightStageId_;

		// Token: 0x040054C5 RID: 21701
		public const int KCENJNFNEPLFieldNumber = 10;

		// Token: 0x040054C6 RID: 21702
		private uint kCENJNFNEPL_;
	}
}
